﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RestFulService
{
    //礼券列表
    public class TICKETLIST
    {
        /// <summary>
        /// 
        /// </summary>
        public int code { get; set; }
        /// <summary>
        /// 成功
        /// </summary>
        public string msg { get; set; }

        public List<MemberTicket> ticketList { get; set; }

        public class MemberTicket
        {
            /// <summary>
            ///  
            /// </summary>
            public string FTICKETCATNAME { get; set; }
            /// <summary>
            ///  
            /// </summary>
            public string FBATCHNO { get; set; }
            /// <summary>
            ///  
            /// </summary>
            public string FBEGDATE { get; set; }
            /// <summary>
            ///  
            /// </summary>
            public string FENDDATE { get; set; }
            /// <summary>
            ///  优惠说明
            /// </summary>
            public string FTITLE { get; set; }
            /// <summary>
            ///  
            /// </summary>
            public int FNUM { get; set; }
            /// <summary>
            ///  
            /// </summary>
            public int FTICKETTYPE { get; set; }
            /// <summary>
            ///  
            /// </summary>
            public int FCALFIELD { get; set; }
            /// <summary>
            ///  
            /// </summary>
            public decimal FCALMONEY { get; set; }
            /// <summary>
            ///  
            /// </summary>
            public int FCALTYPE { get; set; }
            /// <summary>
            ///  
            /// </summary>
            public decimal FFULLMONEY { get; set; }
            /// <summary>
            ///  每笔交易使用张数
            /// </summary>
            public int FUSELIMIT { get; set; }

            public List<TicketItem> ItemList { get; set; }

        }

        public class TicketItem{

            public int FCATSCORE { get; set; }

            public string FITEMNO{ get; set; }
        }

    }
}
